/*
 * @Description: 更多模块路由（从老项目同步结构）
 */
import Layout from '@/layout/Index.vue'

const moreRouter = [
    {
        path: '/more',
        component: Layout,
        redirect: '/more/index',
        children: [
          {
            path: 'index', // 更多首页
            component: () => import('@/views/More/Index.vue'),
            name: 'MoreIndex'
          },
          {
            path: 'Printer',
            component: () => import('@/views/More/Printer/index.vue'),
            name: 'Printer',
          },
          // 移动设备管理
          {
            path: 'mobileDevices',
            component: () => import('@/views/More/MobileDevices/index.vue'),
            name: 'MobileDevices'
          },
          // 计算机管理
          {
            path: 'computer',
            component: () => import('@/views/More/Printer/Computer/index.vue'),
            name: 'Computer'
          },
          // 打印组管理
          {
            path: 'printGroup',
            component: () => import('@/views/More/Printer/PrinteGroup/index.vue'),
            name: 'PrintGroup'
          },
          // 打印设置
          {
            path: 'printSetting',
            component: () => import('@/views/More/Printer/Setting/index.vue'),
            name: 'PrintSetting'
          },
          {
            path: 'documentSetting', // 单据设置
            component: () => import('@/views/More/DocumentSetting.vue'),
            name: 'MoreDocumentSetting'
          },
          {
            path: 'actionLog', // 操作日志
            component: () => import('@/views/More/ActionLog.vue'),
            name: 'ActionLog'
          },
          {
            path: 'enterpriseAccount', // 企业挂账、挂账管理
            component: () => import('@/views/More/EnterpriseAccount.vue'),
            name: 'EnterpriseAccount'
          },
          {
            path: 'enterpriseAccount/subAccount', // 企业挂账、挂账管理---->企业账户子账户
            component: () => import('@/views/More/modules/enterpriseAccount/SubAccount.vue'),
            name: 'SubAccount'
          },
          {
            path: 'storageManagement', // 存物管理
            component: () => import('@/views/More/StorageManagement/index.vue'),
            name: 'StorageManagement'
          }
        ]
      }
]

export default moreRouter


